//SamXIAO
#include <bits/stdc++.h>
using namespace std;

char s1[1000][503];
int f[1086];

void saveWord(int no, char const *src, int len)
{
	for(int i=0; i<len; i++) s1[no][i] = src[i];
	for(int j = len - 1; j >= 0; j--){
			printf("%c", s1[no][j]);
	}
}

void w1()
{
	int cnt = 0, ans = 0, n;
	int ma = -1, mi = 9999, maW, miW, start=0, end=0, wCnt=0;
	string ss;
	getline(cin ,ss);
	int l = ss.length();
	bool isYes = true;
	for(int i = 0, j = l - 1; i<=j ; i++, j--){
		if(ss.c_str()[i] != ss.c_str()[j]){
			isYes = false;
			break;
		}
	}
	printf("%s", isYes ? "yes" : "no");
}

int main()
{
	w1();
  return 0;
}
